/**
 * Author: Dmitry Ustimov
 * Date: 5/13/13
 * Time: 9:54 AM
 */

package com.gmail.dmitryustimov.ms.java7.chain_of_responsibility.classic.example;

public class EmailLogger extends Logger {
    public EmailLogger(int mask) {
        this.mask = mask;
    }

    protected void writeMessage(String msg) {
        System.out.println("Sending via email: " + msg);
    }
}
